package com.killer.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.killer.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 后台用户角色表
 * </p>
 *
 * @author killer
 * @since 2021-08-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_admin_role")
@ApiModel(value="AdminRole对象", description="后台用户角色表")
public class AdminRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员ID")
    @TableField("admin_id")
    private Long adminId;

    @ApiModelProperty(value = "角色ID")
    @TableField("role_id")
    private Long roleId;


}
